﻿using JESAI.EventBus.Attributes;
using JESAI.EventBus.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.EventBus.Contexts
{
    public class EventExecutingContext : BaseEventExecuteContext
    {
        internal EventExecutingContext(IEvent @event
       , MethodInfo handlerMethod
       , EventSubscribeAttribute attribute)
       : base(@event, handlerMethod, attribute)
        {

        }
        /// <summary>
        /// 执行前时间
        /// </summary>
        public DateTime ExecutingTime { get; internal set; }
    }
}
